package com.bupt.jack.model;

/**
 * Usernews entity. @author MyEclipse Persistence Tools
 */

public class UserNews implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 981179710874147233L;
	private Long id;
	private Long userId;
	private String operate;
	private Long groupItemId;

	// Constructors

	/** default constructor */
	public UserNews() {
	}

	/** minimal constructor */
	public UserNews(Long id) {
		this.id = id;
	}

	/** full constructor */
	public UserNews(Long id, Long userId, String operate, Long groupItemId) {
		this.id = id;
		this.userId = userId;
		this.operate = operate;
		this.groupItemId = groupItemId;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getOperate() {
		return this.operate;
	}

	public void setOperate(String operate) {
		this.operate = operate;
	}

	public Long getGroupItemId() {
		return this.groupItemId;
	}

	public void setGroupItemId(Long groupItemId) {
		this.groupItemId = groupItemId;
	}

}